﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.Master" AutoEventWireup="true"
    CodeBehind="Chi-Tiet-Sub-Chuyen-Muc.aspx.cs" Inherits="UserKTXD.Chi_Tiet_Sub_Chuyen_Muc" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>
        <asp:Literal ID="lblTieuDe" runat="server"></asp:Literal>
        - Khoa Kỹ thuật xây dựng</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="entry-header">
        <h3>
            Chuyên mục: <span>
                <asp:Label ID="lblSubChuyenMuc" runat="server"></asp:Label></span></h3>
    </div>
    <!-- .archive-header -->
    <asp:Repeater ID="rptSubChuyenMuc" runat="server">
        <ItemTemplate>
            <article class="post">
					<h2 class="entry-title">
						<span class="the_title"  style="max-width: 100%!Important">
                        <asp:HyperLink ID="linkTieuDe" runat="server" ToolTip='<%# Eval("TieuDe") %>' NavigateUrl='<%# "~/ChuyenMuc/" + Eval("IdLoaiChuyenMuc") + "/" + Eval("IdSubChuyenMuc") + "/" + GetTieuDe(Eval("TieuDe")) + "_" + Eval("Id") + ".aspx" %>'>
                       <%# Eval("TieuDe") %></asp:HyperLink></span>
					</h2>
					<div class="entry-meta row-fluid">
						<ul class="clearfix">
							<li><asp:Image ID="imgavatar" runat="server" ImageUrl="~/Images/gravatar.png" height="15" width="15" /><%# GetTenTacGia(Eval("IdTacGia")) %></li>
							<li><asp:Image ID="imgTime" runat="server" ImageUrl="~/Images/time.png" alt=""/><%# Convert.ToDateTime(Eval("NgayCapNhat")).ToString("dd/MM/yyyy")%></li>
							<li><asp:Image ID="imgview" runat="server" ImageUrl="~/Images/view-bg.png" alt=""/><%# Eval("LuotXem") %> </li>
							<li><asp:Image ID="imgcomment" runat="server" ImageUrl="~/Images/komen.png" alt=""/><a href="#" title="Comment on Lectus non rutrum pulvinar urna leo dignissim lorem">0 Comment</a></li>
							<li class="tagz"><asp:Image ID="imgTag" runat="server" ImageUrl="~/Images/tags-icon.png" alt=""/><%# GetTag(Eval("Id")) %><br></li>
						</ul>
					</div>						
					<div class="entry-content">
						
						<center><%# Eval("AnhDaiDien").ToString() == "no_image.jpg" ? "" : "<img src='../Upload/AnhDaiDien/" + Eval("AnhDaiDien")+ "'/>"%></center>
						
						<p><%# Eval("TomTat") %>
						</p><p class="moretag"><asp:HyperLink ID="HyperLink1" runat="server" ToolTip='<%# Eval("TieuDe") %>' NavigateUrl='<%# "~/ChuyenMuc/" + Eval("IdLoaiChuyenMuc") + "/" + Eval("IdSubChuyenMuc") + "/" + GetTieuDe(Eval("TieuDe")) + "_" + Eval("Id") + ".aspx" %>'> Xem tiếp</asp:HyperLink></p>
					</div>
				</article>
        </ItemTemplate>
    </asp:Repeater>
    <cc1:Pager ID="pagination" runat="server" ShowFirstLast="true" ShowingResultClause="false"
        BackToFirstClause="" GoClause="" GoToLastClause="" BackToPageClause="" ShowResultClause=""
        ToClause="" NextToPageClause="" PreviousClause="Trước" NextClause="Sau" LastClause="Cuối"
        FirstClause="Đầu" PageClause="Trang" OfClause="/" PageSize="10" OnCommand="Pager1_Command">
    </cc1:Pager>
</asp:Content>
